using System;
using System.Collections.Generic;
using System.Text;

namespace Mpi.Common.Controls
{
    public interface IBusyReporter
    {
        event EventHandler<BusyEventArgs> BackgroundWorkStarted;
        event EventHandler BackgroundWorkEnded;
    }

    public class BusyEventArgs : EventArgs
    {
        private string _message;

        public string Message
        {
            get { return _message; }

        }

        public BusyEventArgs(string msg)
        {
            _message = msg;
        }

    }
}
